/*********************
 * 页面样式
 ********************/

/* ==================
   基本默认值
  ================ */

/* ==================
   媒体查询范围
  ================ */
/* 800以下 481 - 800 480以下*/
/* @media only screen and (max-width: 62.5em) {

}
 
@media only screen and (min-width: 30.0625em) and (max-width: 50em) {

}

@media only screen and (max-width: 30em) {

} */

html {
  font-size: 62.5%;
  color: #222;
}

::selection {
  background-color: #b3d4fc;
  text-shadow: none;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

/* ==================
    工具样式
  ================ */

.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.pull-right {
  float: right !important;
}

.pull-left {
  float: left !important;
}

.text-right {
  text-align: right !important;
}

.text-left {
  text-align: left !important;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

.invisible {
  visibility: hidden;
}

.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/* ==================
    浏览器更新提示
  ================ */

.browserupgrade {
  margin: 0;
  padding: 1rem;
  background: #ccc;
}

/* ==================
  自定义页面样式
================ */

body {
  font-size: 1.2rem;
  line-height: 1.5;
  background-color: #f7f7f7;
}

a {
  color: #666;
  text-decoration: none;
}

a:hover, a:active {
  color: #0ae;
  text-decoration: underline;
}

/* ==================
  头部
================ */

header {
  width: 100%;
}

header .minMain {
  display: none;
}

header .main {
  padding: 0;
  width: 90%;
  margin: 0 5%;
  position: absolute;
  z-index: 999;
  border-bottom: solid 1px #FFF;
}

header .main .brand {
  float: left;
  padding: 0;
  line-height: 9rem;
}

header .main .brand img {
  width: 100%;
}

/* ==================
  头部导航
================ */
#menu {
  text-align: right;
}

#menu, #menu ul {
  list-style: none;
}

#menu > li {
  display: inline-block;
  position: relative;
  perspective: 1000px;
}

#menu a {
  display: block;
  position: relative;
  z-index: 10;
  padding: 0 1.5rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 1);
  line-height: 9rem;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -.05em;
  background: transparent;
  transition: all .25s ease-in-out;
}

#menu > li:hover > a {
  /* background: #333; */
  background: rgba(51, 51, 51, 0.5);
  color: rgba(0,223,252,1);
  text-shadow: none;
}

#menu li ul  {
  position: absolute;
  left: 0;
  z-index: 9999999;
  width: 200px;
  padding: 0;
  opacity: 1;
  /* visibility: hidden; */
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background: transparent;
  overflow: hidden;
  transform-origin: 50% 0%;
}


#menu li:hover ul {
  
  padding: 15px 0;
  /* background: #333; */
  background: rgba(51, 51, 51, 0.8);
  opacity: 1;
  visibility: visible;
  animation-name: swingdown;
  animation-duration: .5s;
  animation-timing-function: ease;
}

@keyframes swingdown {
  0% {
    opacity: .99999;
    transform: rotateX(90deg);
  }

  30% {			
    transform: rotateX(-20deg) rotateY(5deg);
    animation-timing-function: ease-in-out;
  }

  65% {
    transform: rotateX(20deg) rotateY(-3deg);
    animation-timing-function: ease-in-out;
  }

  100% {
    transform: rotateX(0);
    animation-timing-function: ease-in-out;
  }
}

#menu li li a {
  padding-left: 15px;
  font-weight: 400;
  color: #ddd;
  text-shadow: none;
  border-top: dotted 1px transparent;
  border-bottom: dotted 1px transparent;
  transition: all .15s linear;
  line-height: 3rem;
}

#menu li li a:hover {
  color: rgba(0,223,252,1);
  border-top: dotted 1px rgba(255,255,255,.15);
  border-bottom: dotted 1px rgba(255,255,255,.15);
  background: rgba(0,223,252,.02);
}

@media only screen and (max-width: 62.5em) {
  header .minMain {
    display: none;
  }
  #menu a {
    padding: 0;
    padding-left: 1rem;
    font-size: 1.4rem;
  }
  header .main .brand img {
    width: 100%;
  }
}

@media only screen and (min-width: 37.5625em) and (max-width: 50em) {
  header .minMain {
    display: none;
  }
  header .main {
    width: 100%;
    margin: 0;
    padding-right: 0.4rem;
  }
  #menu {
    text-align: right;
  }
  #menu a {
    padding: 0;
    padding-left: 1rem;
    font-size: 1.2rem;
    /* line-height: 5rem; */
  }
  header .main .brand img {
    width: 60%;
  }
}

@media only screen and (max-width: 38.125em) {
  nav {
    margin-left: 0px;
  }
  header .main {
    display: none;
  }
  header .minMain {
    display: inline-block;
    width: 100%;
    padding: 1rem 1rem;
    text-align: right;
    position: absolute;
    z-index: 1001;
  }
  header .minMain img {
    width: 30px;
    height: 30px;
  }
}

/* ==================
  广告
================ */
.ad {
  width: 100%;
}
.swiper-container {
  width: 100%;
  height: 590px;
}
.swiper-slide {
  background-position: center;
  background-size: cover;
}

.products {
  width: 90%;
  margin: 0 auto;

}

.products .product-img {
  float: left;
  width: 23.5%;
  background: #ccc;
  margin-bottom: 1rem;
}

.products .product-img + .product-img{
  margin-left: 2%;
}

.products .product-img:nth-child(4n+2) {
  margin-left: 0;
}

.products .product-img:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.products .product-img .content {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* ==================
  主内容
================ */
.main-container {
  width: 70%;
  margin: 0 auto;
}

.cpinfo {
  width: 100%;
}

.cpinfo .cp-container {
  display: flex;
  justify-content: flex-start;
  flex-flow: row nowrap;
  padding: 0 10px;
}

.cpinfo .cp-container img {
  width: 20vw;
  height: 12.222vw;
}

.cpinfo .cp-container h3 {
  margin-top: 3rem;
  font-size: 3.2rem;
}

.cpinfo .cp-container p {
  display: block;
  font-size: 2rem;
  text-align: left;
  flex: 1;
  line-height: 3.8rem;
  padding-left: 4%;
}

.cpinfo .cp-container p span {
  font-size: 2.6rem;
  font-weight: bold;
}

@media only screen and (max-width: 62.5em) {
  .cpinfo .cp-container h3 {
    font-size: 2.8rem;
  }
  
  .cpinfo .cp-container p {
    font-size: 1.8rem;
  }
}
 
@media only screen and (min-width: 30.0625em) and (max-width: 50em) {
  .cpinfo .cp-container h3 {
    font-size: 2.4rem;
  }
  
  .cpinfo .cp-container p {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 30em) {
  .cpinfo .cp-container h3 {
    font-size: 1.8rem;
  }
  
  .cpinfo .cp-container p {
    font-size: 1.2rem;
  }
}

.cpinfo .cp-container a {
  display: inline-block;
  width: 16rem;
  height: 4rem;
  border: solid 2px #666;
  font-size: 2rem;
  line-height: 4rem;
  font-weight: bold;
  margin: 4rem 0;
  background: rgba(211, 211, 211, 0.5);
}

.productsinfo .product-container {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.productsinfo .product-container .pro_list {
  width: 100%;
  /* float: left;
  overflow: hidden;
  padding: 0;
  margin-bottom: 0; */
  display: flex;
  justify-content: space-around;
  flex-flow: row nowrap;
}

.productsinfo .product-container .pro_list .list {
  width: 16%;
  float: left;
  position: relative;
  /* margin-right: 5%; */
}

.productsinfo .product-container .pro_list .list img {
  width: 100%;
  height: 100%;
}

.productsinfo .product-container .pro_list .list .prod_box {
  position: absolute;
  right: 0;
  bottom: 0;
  transition: width 0.3s,height 0.5s;
  cursor: pointer;
  background: rgba(92, 92, 92, 0.8);
  width: 100%;
  cursor: pointer;
}

.productsinfo .product-container .pro_list .list .prod_box a {
  text-decoration: none;
  cursor: pointer;
  color: black;
}

.productsinfo .product-container .pro_list .list .prod_box h1 {
  font-size: 1.6rem;
  margin: 0;
  padding: 6.5% 1rem;
  color: #fff;
  font-weight: normal;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.productsinfo .product-container .pro_list .list .prod_box img {
  width: 1.7rem;
  height: 1.7rem;
  float: right;
  display: block;
}

.productsinfo .product-container .pro_list .list .introduce-box {
  width: 100%;
  height:100%;
  position: absolute;
  top: 0;
  z-index: 998;
  background: rgba(211, 211, 211, 0.9);
  word-break: break-all;
  opacity: 0;
  -webkit-transition: opacity .5s linear;
  -moz-transition: opacity .5s linear;
  -o-transition: opacity .5s linear;
  transition: opacity .5s linear;
}

.productsinfo .product-container .pro_list .list .introduce-box:hover {
  opacity: 1;
  color: unset;
}

.productsinfo .product-container .pro_list .list .introduce-text {
  width: 100%;
  height: 100%;
  word-break: break-all;
  text-indent: 2rem;
  padding: 1rem;
  overflow: hidden;
}

.productsinfo h4 {
  display: inline-block;
  width: 20%;
  text-align: center;
  line-height: 4rem;
}

@media only screen and (min-width: 87.5em) {
  .productsinfo .product-container .pro_list .list {
    /* width: 24.5%;
    margin-right: 0.5%; */
  }
}

.newsinfo .news-container {
  background: #F3F3F3;
  padding-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
}

.newsinfo .news-container .news:nth-child(2n) {
  margin-left: 1%;
}

.newsinfo .news-container .news {
  width: 49%;
  border-bottom: 1px solid #D1D1D1;
  vertical-align: top;
  margin-top: 1rem;
  cursor: pointer;
  display: flex;
}

.newsinfo .news-container .news:hover {
  /* transform:rotate(2deg); */
  text-decoration: none;
  outline: none;
  color: unset;
  color: #a80000;
}

.newsinfo .news-container .news-left {
  float: left;
  padding-right: 2rem;
}

.newsinfo .news-container .news-left img {
  width: 7.6rem;
  height: 7.6rem;
}

.newsinfo .news-container .news-left .dateDiv {
  width: 7.6rem;
  height: 7.6rem;
  background: #666;
  color: white;
}

.newsinfo .news-container .news-left .dateDiv span {
  width: 100%;
  display: inline-block;
}

.newsinfo .news-container .news-left .dateDiv .year {
  font-size: 1rem;
  padding-left: 4px;
}

.newsinfo .news-container .news-left .dateDiv .Day {
  font-size: 6rem;
  line-height: 6rem;
  text-align: center;
}

.newsinfo .news-container .news-right {
  word-break: break-all;
  flex: 1;
  overflow: hidden;
}

.newsinfo .news-container .news-right span {
  /* display: inline-block; */
  display: block;
  font-size: 2rem;
  margin: 0;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
  word-break: break-word;
}

.newsinfo .news-container .news-right p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 1.4rem;
}

.newsinfo h4 {
  display: inline-block;
  width: 20%;
  text-align: center;
  line-height: 4rem;
}

@media only screen and (max-width: 30em) {
  .productsinfo .product-container .pro_list .list {
    width: 49.5%;
    margin-right: 0.5%;
  }
  .newsinfo .news-container .news {
    width: 100%;
  }
  .newsinfo .news-container .news-left img {
    display: none;
  }
  .newsinfo .news-container .news-right h6 {
    font-size: 1.4rem;
  }
  .newsinfo .news-container .news-right p {
    font-size: 1.2rem;
  }
}

.pop-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #222;
  z-index: 1000;
  display: none;
}

.pop-block div {
  text-align: right;
  padding: 6rem 4rem 4rem 4rem;
}

.pop-block div ul>li{
  font-size: 1.6rem;
}

.pop-block div ul li>ul{
  font-size: 1.2rem;
  margin-right: 10rem;
}

.hidebody {
  overflow: hidden;
}

.split-container {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 1rem 0;
}

.split-container .split {
  height: 1px;
  background: #666;
  flex: 1;
}

.split-container .txt {
  font-size: 2rem;
  padding: 0 4rem;
}

.icon {
  width: 1em; 
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}